<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>支付宝网站支付</title>
</head>
<body>
<form id="form" action="zfb/send" method="post">
    <p>商品：<input type="text" name="subject"></p>
    <p>金额：<input type="text" name="money"></p>
    <p><input type="button" value="支付" onclick="submitForm('zfb/send')"></p>
</form>
<script>
    function submitForm(action) {
        document.getElementById("form").action = action;
        document.getElementById("form").submit();
    }
</script>
</body>
</html>
